Preemption Process Example

In this example, a Gear may be preempted in its occupancy of the Lathe. This preemption may be because of either a preempting entity or downtime. Before the actual preemption takes place, the operation time for the Gear is interrupted and the Gear immediately begins processing the operation logic defined in the preemption process.

In the preemption process, the remaining operation time is stored in Attr1. The Gear routes to Lathe_Backup where it finishes processing. Because the backup lathe is not as efficient as the other Lathe, it takes 50% longer to process the Gear on Lathe_Backup. Therefore, we multiply the time left to process the Gear by a factor of 1.5.

Process Table

Entity

Location

Operation (min)

Gear

Lathe

WAIT 10 min

Gear

Lathe

Attr1=TIMELEFT()

Gear

Lathe_Backup

WAIT Attr1*1.5

Routing Table

Blk

Output

Destination

Rule

Move Logic

1

Gear

Mill

FIRST 1

 

1

Gear

Lathe_Backup

FIRST 1

 

1

Gear

Mill

FIRST 1